﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFML.Audio;
using SFML.Graphics;
using SFML.System;
using SFML.Window;
using MarzTargetCode;
using System.Reflection;
using System.IO;

namespace MarzFramework
{
    class Program
    {
        static void Main(string[] args)
        {
            RenderWindow rw = new RenderWindow(new VideoMode(500, 500), "MARZ");
            rw.SetFramerateLimit(110);
            rw.SetActive(true);
            Functions.window = rw;
            Functions.f = new Font(Properties.Resources.adventure);
            MarzTargetCode.Target t = new MarzTargetCode.Target(rw);
            t.GameLoop();

            if (rw != null)
                rw.Dispose();
        }
    }
}
